package com.example.hystrixDemo.service;

import rx.Observable;

/**
 * @Deacription 借据相关
 * @Author baohuajie
 * @Date 2020/9/7 15:03
 * @Version 1.0
 **/
public interface LoanService {

    /**
     * 查询借据结果
     * @param loanId
     * @return
     */
    String queryLoanResult() throws InterruptedException;
    String queryLoanResult2() throws Exception;
    Observable<String> queryLoanResult1() throws InterruptedException;

}
